package com.nsyue.auth.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * (OauthClientDetails)表实体类
 *
 * @author laixm
 * @since 2023-05-06 16:47:55
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class OauthClientDetails extends Model<OauthClientDetails> {

    @TableId
    private String clientId;
    
    private String resourceIds;
    
    private String clientSecret;
    
    private String scope;
    
    private String authorizedGrantTypes;
    
    private String webServerRedirectUri;
    
    private String authorities;
    
    private Integer accessTokenValidity;
    
    private Integer refreshTokenValidity;
    
    private String additionalInformation;
    
    private Date createTime;
    
    private Boolean archived;
    
    private Boolean trusted;
    
    private String autoapprove;
}

